<?php
/**
 * User zgh
 * Email 1803897171@qq.com
 * Date 2021/7/31
 **/

namespace app\api\service;


use app\common\model\UserModel;

class UserService
{
    public static function getInfo($user_id)
    {
        $data = UserModel::where(["id" => $user_id])->find()->toArray();
        return $data;
    }
}